centos服务器解锁频率限制

您所在的位置:网站首页 cpu 锁频率 centos服务器解锁频率限制

centos服务器解锁频率限制

2024-07-02 14:40| 来源: 网络整理| 查看: 265

新到了一批机器,检查发现CPU频率一直比较低,应该是锁频了,这里记录下解锁的过程

#安装工具包 yum install cpupowerutils -y #查看当前模式 cpupower frequency-info #检查当前频率 cat /proc/cpuinfo |grep MHz #修改模式 cpupower frequency-set -g performance #检查修改后频率 cat /proc/cpuinfo |grep MHz

cpupower frequency-info可以看到当前CPU的频率

[root@node18 ~]# cpupower frequency-info analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 1000 MHz - 3.10 GHz available cpufreq governors: performance powersave current policy: frequency should be within 1000 MHz and 3.10 GHz. The governor "powersave" may decide which speed to use within this range. current CPU frequency: 1.01 GHz (asserted by call to hardware) boost state support: Supported: yes Active: yes

current policy:内可以看到目前的运行模式

模式说明 performance 运行于最大频率 powersave 运行于最小频率 userspace 运行于用户指定的频率 ondemand 按需快速动态调整CPU频率, 一有cpu计算量的任务,就会立即达到最大频率运行,空闲时间增加就降低频率 conservative 按需快速动态调整CPU频率, 比 ondemand 的调整更保守 schedutil 基于调度程序调整 CPU 频率

参考: https://blog.csdn.net/wangy_abcsdf2/article/details/106611935



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3